package com.ki.rent.mapper;

import com.ki.rent.entity.House;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author
 * @since 2020-06-05
 */
public interface HouseMapper extends BaseMapper<House> {
    @Select("select * from house where concat(house_desc,house_area,house_address) like concat('%',#{keywords}, '%')")
    List<House> findHouse(String keywords);
}
